projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d4551c
)
Fix dnd-tests on builds without X
author
Po Lu
<luangruo@yahoo.com>
Thu, 9 Jun 2022 02:22:14 +0000
(10:22 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Thu, 9 Jun 2022 02:22:14 +0000
(10:22 +0800)
* test/lisp/dnd-tests.el (x-get-selection-internal): New
function declaration.
test/lisp/dnd-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/dnd-tests.el
b/test/lisp/dnd-tests.el
index c7e537e53f9c65b41d18975e34335cdde3044ff8..c4b7567f22efe50a29b5b981a035125763d4a0b1 100644
(file)
--- a/
test/lisp/dnd-tests.el
+++ b/
test/lisp/dnd-tests.el
@@
-72,6
+72,8
@@
(signal 'error (list "invalid selection" data)))
(setf (alist-get type dnd-tests-selection-table) data))))
+(declare-function x-get-selection-internal "xselect.c")
+
(defun dnd-tests-verify-selection-data (type)
"Return the data of the drag-and-drop selection converted to TYPE."
(if (eq window-system 'x)